Page({
  data: {
    path: '',
  },
  onLoad (options) {
    try {
      const { path } = options
      const url = path
      this.setData({
        path: decodeURIComponent(url)
      })
    } catch (error) {
      wx.showToast({
        title: '参数错误',
        icon: 'none',
        duration: 2000
      })
      wx.navigateBack({ delta: 1 })
    }
  },
  getMsgHandle (e) {
    console.log(e)
  }
})